home *** CD-ROM | disk | FTP | other *** search
/ Workbench Add-On / Workbench Add-On - Volume 1.iso / BBS-Archive / Dev / gcc263-src.lha / gcc-2.6.3 / config / mips / dec-osf1.h < prev    next >
C/C++ Source or Header  |  1994-05-04  |  2KB  |  61 lines

  1. /* Definitions of target machine for GNU compiler.  DECstation (OSF/1) version.
  2.    Copyright (C) 1992 Free Software Foundation, Inc.
  3.  
  4. This file is part of GNU CC.
  5.  
  6. GNU CC is free software; you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation; either version 2, or (at your option)
  9. any later version.
  10.  
  11. GNU CC is distributed in the hope that it will be useful,
  12. but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14. GNU General Public License for more details.
  15.  
  16. You should have received a copy of the GNU General Public License
  17. along with GNU CC; see the file COPYING.  If not, write to
  18. the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  19.  
  20. #define DEC_OSF1
  21.  
  22. #define CPP_PREDEFINES "\
  23. -D__ANSI_COMPAT -DMIPSEL -DR3000 -DSYSTYPE_BSD -D_SYSTYPE_BSD \
  24. -Dbsd4_2 -Dhost_mips -Dmips -Dosf -Dunix \
  25. -Asystem(unix) -Asystem(xpg4) -Acpu(mips) -Amachine(mips)"
  26.  
  27. #define LINK_SPEC "\
  28. %{G*} %{EB} %{EL} %{mips1} %{mips2} %{mips3} \
  29. %{bestGnum} %{shared} %{non_shared} \
  30. %{call_shared} %{no_archive} %{exact_version} \
  31. %{!shared: %{!non_shared: %{!call_shared: -non_shared}}}"
  32.  
  33. #include "mips/ultrix.h"
  34.  
  35. /* Specify size_t and wchar_t types.  */
  36. #undef    SIZE_TYPE
  37. #undef    WCHAR_TYPE
  38. #undef    WCHAR_TYPE_SIZE
  39.  
  40. #define SIZE_TYPE    "long unsigned int"
  41. #define WCHAR_TYPE    "short unsigned int"
  42. #define WCHAR_TYPE_SIZE SHORT_TYPE_SIZE
  43.  
  44. #undef CPP_SPEC
  45. #define CPP_SPEC "\
  46. %{.S:    -D__LANGUAGE_ASSEMBLY__ -D__LANGUAGE_ASSEMBLY %{!ansi:-DLANGUAGE_ASSEMBLY}} \
  47. %{.s:    -D__LANGUAGE_ASSEMBLY__ -D__LANGUAGE_ASSEMBLY %{!ansi:-DLANGUAGE_ASSEMBLY}} \
  48. %{.cc:    -D__LANGUAGE_C_PLUS_PLUS__ -D__LANGUAGE_C_PLUS_PLUS} \
  49. %{.cxx:    -D__LANGUAGE_C_PLUS_PLUS__ -D__LANGUAGE_C_PLUS_PLUS} \
  50. %{.C:    -D__LANGUAGE_C_PLUS_PLUS__ -D__LANGUAGE_C_PLUS_PLUS} \
  51. %{.m:    -D__LANGUAGE_OBJECTIVE_C__ -D__LANGUAGE_OBJECTIVE_C} \
  52. %{!.S:%{!.s:    -D__LANGUAGE_C__  -D__LANGUAGE_C %{!ansi:-DLANGUAGE_C}}} \
  53. %{mlong64:-D__PTRDIFF_TYPE__=long\\ int} \
  54. %{!mlong64:-D__PTRDIFF_TYPE__=int}"
  55.  
  56. /* turn off collect2 COFF support, since ldfcn now has elf declaration */
  57. #undef OBJECT_FORMAT_COFF
  58.  
  59. #undef MACHINE_TYPE
  60. #define MACHINE_TYPE "DECstation running DEC OSF/1"
  61.